package com.evan.designpatterns.observer.refactor.listener;

import com.evan.designpatterns.observer.refactor.event.abstracts.ISingleTeacherEvent;
import com.google.common.eventbus.Subscribe;

/**
 * @author :liujiapeng01
 * @date :2019-03-19 20:42
 **/
public class SingleTeacher {

    @Subscribe
    public void subscribe(ISingleTeacherEvent event) {
        event.publish();
    }
}
